package com.linkzd.iot.model;

import com.linkzd.common.core.domain.BaseEntity;

/**
 * @author: Wangym
 * @Date: 2024/5/29 23:05
 * @Description:
 */
public class DeviceOverview  {
    private Integer deviceCount;

    private Integer failureCount;

    private Integer offlineCount;

    public DeviceOverview() {
    }

    public DeviceOverview(Integer deviceCount, Integer failureCount, Integer offlineCount) {
        this.deviceCount = deviceCount;
        this.failureCount = failureCount;
        this.offlineCount = offlineCount;
    }

    public Integer getDeviceCount() {
        return deviceCount;
    }

    public void setDeviceCount(Integer deviceCount) {
        this.deviceCount = deviceCount;
    }

    public Integer getFailureCount() {
        return failureCount;
    }

    public void setFailureCount(Integer failureCount) {
        this.failureCount = failureCount;
    }

    public Integer getOfflineCount() {
        return offlineCount;
    }

    public void setOfflineCount(Integer offlineCount) {
        this.offlineCount = offlineCount;
    }

    @Override
    public String toString() {
        return "DeviceOverview{" +
                "deviceCount=" + deviceCount +
                ", failureCount=" + failureCount +
                ", offlineCount=" + offlineCount +
                '}';
    }
}
